Ext.define('Admin.view.archive.AuditLogController', {
	        extend : 'Admin.app.CrudController',

	        alias : 'controller.auditlog',

	        onRefreshDefault : function(view, record, params) {
		        var me = this, vm = view.getViewModel(), store = vm.getStore('operateByStore');
		        store.getProxy().extraParams = {
			        type : Ext.util.Format.lowercase(record.data.level),
			        org : record.data.id
		        };
		        store.reload();
		        // 日志
		        store = vm.getStore('auditLogStore');
		        var extraParams = {
			        org : record.data.id,
			        operator : vm.get('operator'),
			        method : vm.get('method'),

			        period : vm.get('period'),
			        start : vm.get('start'),
			        startTime : vm.get('startTime'),
			        duration : vm.get('duration')
		        };
		        if (params) {
			        extraParams = Ext.apply(extraParams, params);
		        }
		        if ('PT0S' === extraParams.period) {
			        extraParams.start = Ext.util.Format.date(extraParams.start, 'Y-m-d') + 'T'
			                + Ext.util.Format.date(extraParams.startTime, 'H:i');
		        }
		        extraParams.operator || delete extraParams.operator;

		        store.getProxy().extraParams = extraParams;
		        store.reload();
	        }

        });